#include "choose_hero.h"
#include "ui_choose_hero.h"

#include <QDebug>
choose_hero::choose_hero(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::choose_hero)
{
    ui->setupUi(this);

    connect(ui->gamer1, SIGNAL(clicked()), this, SIGNAL(showPage2()));
}

choose_hero::~choose_hero()
{
    delete ui;
}

QString choose_hero::getName()
{
    QString name = ui->gamer1->text();
    return name;
}
